package cn.itsource.ymcc.service;

import cn.itsource.ymcc.domain.Course;
import cn.itsource.ymcc.domain.CourseUserLearn;
import cn.itsource.ymcc.dto.CourseDTO;
import cn.itsource.ymcc.vo.CourseDetailVO;
import cn.itsource.ymcc.vo.CourseOrderDetailVo;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author gwk
 * @since 2023-02-24
 */
public interface ICourseService extends IService<Course> {

    void save(CourseDTO courseDTO);

    void onLineCourse(Long courseId);

    CourseDetailVO getDetail(Long courseId);

    CourseUserLearn getCourseforuser(Long courseId, Long loginId);

    CourseOrderDetailVo getOrderDetail(String courseIds);


}
